package kr.hkit.PowerJava.chapter05.work;

import java.util.Scanner;

public class Moonje3 {
       public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
       
          int cm;
          double ft;
          double inch; 
        
          
          System.out.print("키를 입력하시오: ");
          cm = input.nextInt();
          inch = cm / 2.54;
          ft = inch / 12;
          System.out.println(cm+"cm는 "
          +(int)ft+"피트 "+inch%12+"인치 입니다.");
          }
}
